﻿#include <QGuiApplication>
#include <QQmlApplicationEngine>

int main(int argc, char *argv[])
{
    QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
    QCoreApplication::setAttribute(Qt::AA_UseOpenGLES);  // 0902解决对方A卡驱动更新导致输入法输入框不弹出的问题
    QGuiApplication app(argc, argv);
    QQmlApplicationEngine engine;
    engine.addImportPath(QString(QGuiApplication::applicationDirPath()+"/imports"));
    engine.load(QUrl(QStringLiteral("qrc:/main.qml")));

    return app.exec();
}
